//
//  TranstionModel.h
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/8/23.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,FutureType){
    FutureTypeNormal,
    FutureTypeSecond
};

@interface TranstionModel : NSObject

@property (nonatomic,assign) NSInteger alreadySoldCount;
@property (nonatomic,copy) NSString *counterFeeRate;
@property (nonatomic,copy) NSString *estimateIncomeRate;
@property (nonatomic,assign) NSInteger ID;
@property (nonatomic,copy) NSString *incomeRate;
@property (nonatomic,assign) NSInteger indexActivityPosition;
@property (nonatomic,assign) NSInteger isInIndexActivity;
@property (nonatomic,assign) float price;
@property (nonatomic,copy) NSString *productName;
@property (nonatomic,copy) NSString *productNo;
@property (nonatomic,copy) NSString *productParams;
@property (nonatomic,assign) NSInteger stageCount;//总共时间
@property (nonatomic,assign) NSInteger status;
@property (nonatomic,assign) NSInteger stockCount;
@property (nonatomic,copy) NSString *thumbnailUrl;
@property (nonatomic,copy) NSString *tradeFreeRate;
@property (nonatomic,assign) FutureType type;//自己添加区分二级和期货

@property (nonatomic,assign) NSInteger productCount;//二级数量
@property (nonatomic,assign) NSInteger residualStock;//期货数量
@property (nonatomic,assign) NSInteger surplusDays;//剩余时间

+ (instancetype)objectWithDict:(NSDictionary *)dict;

@end
